<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::post( 'login', 'login/index' );   //登录
Route::post( 'register', 'register/index' );    //注册
Route::post( 'forget', 'forget/index' );  //找回密码
Route::get( 'logout', 'logout/index' );  //登出

//用户管理
Route::group( 'user', function() {
    Route::get( 'userinfo', 'user.home/userinfo' );   //用户信息
} );

//会员管理
Route::group( 'member', function() {
    Route::get( 'manage', 'member.manage/index' );   //会员查询
    Route::get( 'level', 'member.level/index' );   //会员级别
} );